import styled from "styled-components";

export const SectionWrapper = styled.div`
  display: flex;
  width: 850px;
  height: 66px;
  /* border: 1px solid ${props => props.theme.isTop ? 'white' : '#ddd'}; */
  border: 1px solid #ddd;
  background-color: white;
  border-radius: 50px;
  box-sizing: border-box;
  .item {
    flex: 1;
    display: flex;
    height: 100%;
    align-items: center;
    border-radius: 50px;
    &:first-child{
      .searchinfo {
        padding-left:30px;
      }
    }
    .searchinfo {
      flex: 1;
      padding: 0 20px;
      .title {
        color: #222;
        font-weight: 700;
      }
      .desc {
        margin-top: 5px;
        color: #666;
      }
    }

    .divider {
      height: 32px;
      width: 1px;
      background-color: #ddd;
    }

    &:hover {
      background-color: #eee;
      .divider {
        display: none;
      }
    }
  }
`